package com.qf.cx.simplenms.link.rai.model;

import java.util.ArrayList;
import java.util.List;
import com.sun.jna.Structure;

public class InventoryResult extends Structure {
	
	public int tagNum;
	public TagInfo[] tagInfos = new TagInfo[RaiLimit.MAX_TAG_NUM];
	
	{
		for(int i = 0; i < RaiLimit.MAX_TAG_NUM; i++)
		{
			tagInfos[i] = new TagInfo();
		}
	}
	
	public static class ByValue  extends InventoryResult implements Structure.ByValue  { }		
	public static class ByReference extends InventoryResult implements Structure.ByReference { }
	
    @Override  
    protected List<String> getFieldOrder() {  
        List<String> a = new ArrayList<String>();  
        a.add("tagNum");   
        a.add("tagInfos");         
        return a;  
    }  	
}
